// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_activity;

import android.view.MotionEvent;
import android.view.View;
import android.widget.ViewFlipper;

// Referenced classes of package com.nnee.p_pr.p_activity:
//            PRISActivityGuide

class cls_de
    implements android.view.GestureDetector.OnGestureListener
{

	cls_de(cls_PRISActivityGuide prisactivityguide)
    {
        a = prisactivityguide;
        super();
    }

    public boolean onDown(MotionEvent motionevent)
    {
        return true;
    }

    public boolean onFling(MotionEvent motionevent, MotionEvent motionevent1, float f, float f1)
    {
        boolean flag = true;
        if(f > 20F)
        {
            if(PRISActivityGuide.a(a).getCurrentView() != null && PRISActivityGuide.a(a).getCurrentView().getId() > 0)
                PRISActivityGuide.a(a).showPrevious();
        } else
        if(f < -20F)
        {
            if(PRISActivityGuide.a(a).getCurrentView() != null && PRISActivityGuide.a(a).getCurrentView().getId() >= -1 + PRISActivityGuide.a(a).getChildCount())
                PRISActivityGuide.b(a);
            else
                PRISActivityGuide.a(a).showNext();
        } else
        {
            flag = false;
        }
        return flag;
    }

    public void onLongPress(MotionEvent motionevent)
    {
    }

    public boolean onScroll(MotionEvent motionevent, MotionEvent motionevent1, float f, float f1)
    {
        return false;
    }

    public void onShowPress(MotionEvent motionevent)
    {
    }

    public boolean onSingleTapUp(MotionEvent motionevent)
    {
        return false;
    }

    final PRISActivityGuide a;
}
